package cn.edu.scut.sys.service;

import java.util.List;
import cn.edu.scut.sys.utils.DataRequest;
import cn.edu.scut.sys.utils.DataResponse;
import cn.edu.scut.sys.vo.TrainItem;

public interface TrainItemService {

	public DataResponse<TrainItem> list(DataRequest request);
	
	public boolean add(TrainItem trainItem);
	public List<TrainItem> getAll();
	public TrainItem getTrainItem(Long id);
	public boolean updateTrainItem(TrainItem trainItem) ;
	public boolean delTrainItem(int id) ;
}
